<%--
  Created by IntelliJ IDEA.
  User: 陈学凯
  Date: 2024/11/29
  Time: 下午3:17
  To change this template use File | Settings | File Templates.
--%>
<%@page language="java" contentType="text/html;charset=utf-8" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<body>
<form action="${pageContext.request.contextPath}/welcome.jsp">
    <c:if test="${param.num1 != null}">
        name:<input type="text" name="num1">
        <input type="submit" value="submit"/><br/>
    </c:if>

</form>
</body>
</html>
